Skip to content

Fixing serialization tests #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 19, 2025
Merged

Fixing serialization tests #12

merged 5 commits into from
Aug 19, 2025

Conversation

aarrasseayoub01
Copy link
Member

Fixing the 3 serialization tests by enforcing empty array since the json serializer turns empty array into an empty string which is equivalent to NULL in OracleDB

I'm not sure if this is the best approach, or should we have a custom json serializer implementation that would take OracleDB's specificity into consideration

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 13, 2025
shelly-li-sl
shelly-li-sl previously approved these changes Aug 14, 2025
shelly-li-sl
shelly-li-sl previously approved these changes Aug 15, 2025
@@ -167,19 +147,21 @@ func TestSerializer(t *testing.T) {
},
CustomSerializerString: "world",
}
// empty := Roles{}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be removed

jeandelavarene
jeandelavarene previously approved these changes Aug 18, 2025
@aarrasseayoub01 aarrasseayoub01 merged commit e195ff2 into main Aug 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants